/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

/**
 * <p>Project: spring2022 - User
 * <p>Powered by webrx On 2022-03-17 16:02:43
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@Data @Repository @Scope("prototype")
public class User {
    //@Value("10")
    private int id;
    //@Value("用户李四")

    @Value("${db.username}")
    private String name;

    private Teacher teacher;

}
